import React from 'react';
import { Layout } from 'antd';
import { Outlet } from 'react-router-dom';
import Header from './components/Header';

const { Content } = Layout;
const Home: React.FC = () => {
    return (
        <Layout style={{ height: '100%', overflow: 'auto' }}>
            <Header></Header>
            <Content>
                <Outlet />
            </Content>
        </Layout>
    );
};

export default Home;
